<?php

class Category extends AppModel {
    var $name = 'Category';
    var $displayField = 'name';
    var $validate = array(
        'name' => array('rule' => 'notEmpty', 'required' => true, 'message' => 'Name must not be empty')
    );
}

?>